{% extends "base.html" %}
{% block title %}Portfolios{% endblock %}

{% block body %}
<form method="POST" action="" />
<label for="new_name">New Portfolio:</label>
<input type="text" name="new_name" />
<input type="submit" label="Create" />
</form>

<ul>
{% for p in portfolios %}
<li><a href="{{ p.detailUrl }}">{{ p.name }}</a></li>
{% empty %}
<li>You don't have any portfolios.</li>
{% endfor %}
</ul>
{% endblock %}